import { createApp } from 'vue'
import './styles/index.scss'
import App from './App.vue'
import router from "./routes/index"
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as echarts from 'echarts'
// import pinia from "@/store/store"
import { createPinia } from 'pinia' 
const pinia = createPinia()
const app = createApp(App)
app.config.globalProperties.$echarts = echarts
app.use(ElementPlus)
app.use(router)
app.use(pinia)
app.mount('#app')

console.log(import.meta.env)